<!DOCTYPE html>
<html>
<head>
	<title>jd-每日一领</title>
	<meta charset="utf-8">
</head>
<body>
	<iframe src="" width="100%" height="1280"></iframe>
</body>
<script type="text/javascript">
	const urls = [
		`https://jddx.jd.com/m/jddnew/center/mall/index.html?utm_source=Android%2aurl%2a${new Date().getTime()}&utm_medium=jrappshare&utm_term=wxfriends&from=jrdaka&final_page=xxf_jx`,
		`https://jddx.jd.com/m/jddnew/btyingxiao/sfstore/index.html?utm_source=Android%2aurl%2a${new Date().getTime()}&utm_medium=jrappshare&utm_term=wxfriends&from=jrdaka&final_page=xxf_jx`,
		`https://jddx.jd.com/m/jddnew/activity/vault/index.html?utm_source=Android%2aurl%2a${new Date().getTime()}&utm_medium=jrappshare&utm_term=wxfriends&from=jrdaka&final_page=xxf_jx`,
				`https://jddx.jd.com/m/jddnew/activity/vault/index.html?utm_source=Android%2aurl%2a${new Date().getTime()}&utm_medium=jrappshare&utm_term=wxfriends&test=(alert('123'))()`
	]

	function loadPage () {
		urls.forEach((url, index) => {
			setTimeout(() => {
				console.log(url)
				var frame = document.getElementsByTagName('iframe')	
				frame.src = url

			}, (index+1)*3000)
		})
	}

	// loadPage()

				var frame = document.getElementsByTagName('iframe')[0]
				frame.src = urls[3]
				frame.onload = () => {
					console.log('sdfsdfsdf')
					document.getElementsByTagName('img')
				}
				document.domain = 'jddx.jd.com'
				
				// frame.onload = new window.JDDXSDK.ArticleReward();
				// ()=>{console.log('123')}()
</script>
</html>